﻿@model IEnumerable<Gfw.Models.Admin.UsrRoles>
@using MvcContrib.UI.Grid

@{
    ViewBag.Title = "角色定义";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}


@Html.Grid(Model).Empty("还未添加角色定义!").Columns(column =>
{
    column.For(x => x.Code).SortColumnName("编码");
    column.For(x => x.Name).Named("名称"); 
    column.For(x => x.Description).Named("描述");
    column.For(x => x.SortIndex).Named("排序码"); 
})
